﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NodeTypeList.aspx.cs" Inherits="SmartSpace.Orgs.UI.pages.NodeTypeList" %>

<asp:content id="Content1" contentplaceholderid="ContentTitle" runat="server">
    test page
</asp:content>

<asp:content id="Content2" contentplaceholderid="ContentHead" runat="server">
</asp:content>

<asp:content id="Content3" contentplaceholderid="ContentBody" runat="server">
    <a href="AddNodeType.aspx">添加</a>
    <table>
        <tr>
            <td>Id</td>
            <td>Code</td>
            <td>Caption</td>
            <td>操作</td>
        </tr>
    <asp:Repeater id="rep1" runat="server" OnItemCommand="rep1_ItemCommand">
        <ItemTemplate>
            <tr>
                <td><%# Eval("Id") %></td>
                <td><%# Eval("Code") %></td>
                <td><%# Eval("Caption") %></td>
                <td>
                    <a href="EditNodeType.aspx?NodeTypeId="+<%# Eval("Id") %>+"">编辑</a>
                    <asp:LinkButton CommandName="Delete" runat="server" CommandArgument='<%# Eval("Code") %>' Text="删除" />
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
    </table>
        </FooterTemplate>
</asp:Repeater>

</asp:content>
